package com.edu.cdp;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 过滤器已经编写，若采用则需要在启动类上添加@ServletComponentScan注解，
 * 否则过滤器不会生效
 */
//@ServletComponentScan
@SpringBootApplication
@EnableTransactionManagement
public class SupermarketCashierApplication {

    public static void main(String[] args) {
        SpringApplication.run(SupermarketCashierApplication.class, args);
        System.out.println("🦊 启动任务完美达成！你真是个编程小能手！👍🎸🎊");
        System.out.println("🚀 启动成功了，你真牛逼！ 👏✨🎉");
    }

}
